getById(6);
function getById(jobId){
   /* console.log("job id="+jobId);
    location.href ="/job/detail.jsp?id="+jobId;*/


    //根据id查询job
    $.ajax({
       type:"GET",
        url:"/job?op=detail&id="+jobId,
       datatype:"json",
        success:function(jsonResult){
           var result = JSON.parse(jsonResult);
           console.log(jsonResult);
        }
    });
}